﻿@{
    ViewBag.Title = "EditAndAdd";
    Layout = "~/Views/Shared/_IVSLayout.cshtml";
}
@if (ViewBag.id == 1)//edit
{
      <!-- main start-->
            <div id="main">
			  <!-- InstanceBeginEditable name="EditRegion1" --><h2>Edit Role</h2><!-- InstanceEndEditable -->   
					<div id="error" class="error"> </div>
					<div id="Div1" class="success"> </div>
               <!-- InstanceBeginEditable name="EditRegion2" -->
			   	<p></p>

					<p></p>
                           <table class="inputForm">
								<tbody>
								<tr>
									<th class="th100">Role Name <span class="requirement" >*</span></th>
									<td ><input id="txtRoleName" class="txt125" value="Administrator" type="text"/></td>									
                                </tr>								
								</tbody>
							</table>
                           <input name="btnSave" type="button" value="Save" onclick="location.href='/MSRM00'" />                       
                           <input name="btnBack" type="button" value="Back" onclick="location.href='/MSRM00'" />
						    <div Code="divList">
						<div Code="divList">
						<div class="success">
								<p></p>
						</div>
						</div>
						</div>


               <!-- InstanceEndEditable -->   
               
            </div>  
            <!-- main end-->      
}
else
{
    <!-- main start-->
            <div id="main">
			  <!-- InstanceBeginEditable name="EditRegion1" --><h2>Add Role</h2><!-- InstanceEndEditable -->   
					<div id="error" class="error"> </div>
					<div id="Div1" class="success"> </div>
               <!-- InstanceBeginEditable name="EditRegion2" -->
			   		<table class="inputForm">
								<tbody>
								<tr>
									<th class="th100">Role Name <span class="requirement">*</span></th>
									<td ><input id="txtRoleName" class="txt125" value="" type="text"/></td>
                                </tr>								
								</tbody>
					</table>			
            <input name="btnSave" type="button" value="Save" onclick="location.href='/MSRM00'" />                       
             <input name="btnBack" type="button" value="Back" onclick="location.href='/MSRM00'" />
             	<div Code="divList">
						<div Code="divList">
						<div class="success">
								<p></p>
						</div>
						</div>
						</div>
               <!-- InstanceEndEditable -->   
               
            </div>  
            <!-- main end-->   
}

